<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:icecore="http://www.icefaces.org/icefaces/core"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:ace="http://www.icefaces.org/icefaces/components">
<h:head>
	<title>inBOtta</title>
	<ice:outputStyle href="../css/woodstock/woodstock.css" rel="stylesheet" type="text/css" />
</h:head>
<h:body>
	<h:form id="form">

     <br />
     <br />
  <ice:commandLink value="Indietro" action="gestione?faces-redirect=true" />
     
     <br />
     
		<ice:portlet>
			<ice:panelGrid columns="2">
				<ice:outputLabel for="testo1" value="Testo1"></ice:outputLabel>
				<ice:inputText id="testo1"  value="#{gestioneBean.slider.uno}" />
				<ice:outputLabel for="testo2" value="Testo2"></ice:outputLabel>
				<ice:inputText id="testo2"  value="#{gestioneBean.slider.due}" />
				<ice:outputLabel for="testo3" value="Testo3"></ice:outputLabel>
				<ice:inputText id="testo3"  value="#{gestioneBean.slider.tre}" />
				<br/>
				<ice:outputLabel for="foto" value="Foto (940 x 348)"></ice:outputLabel>
				
				<ace:fileEntry id="foto" useOriginalFilename="true" useSessionSubdir="false" relativePath="images/slide" results="#{gestioneBean.fotoSlider}">
				</ace:fileEntry>
				<h:commandButton type="submit" value="Salva Slider" action="#{gestioneBean.doModSlider}"></h:commandButton>
			</ice:panelGrid>
		</ice:portlet>

	</h:form>
</h:body>
</html>
